From d14e17eb94a6b1028055bafaf4a99fd9f2208df2 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Mon, 6 Mar 2023 20:47:51 -0600 Subject: [PATCH] Remove gpssim formet per 02/28/2022 proposal. (#1028) --- CMakeLists.txt | 2 -- gpssim.cc => deprecated/gpssim.cc | 0 reference/format0.txt | 1 - reference/format1.txt | 1 - reference/format2.txt | 1 - reference/format3.txt | 6 ------ reference/help.txt | 3 --- testo.d/gpssim.test | 10 ---------- vecs.cc | 9 --------- xmldoc/formats/gpssim.xml | 9 --------- xmldoc/formats/options/gpssim-split.xml | 17 ----------------- 11 files changed, 59 deletions(-) rename gpssim.cc => deprecated/gpssim.cc (100%) delete mode 100644 testo.d/gpssim.test delete mode 100644 xmldoc/formats/gpssim.xml delete mode 100644 xmldoc/formats/options/gpssim-split.xml diff --git a/CMakeLists.txt b/CMakeLists.txt index ea6100cc3..6171b2928 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,6 @@ set(ALL_FMTS ${MINIMAL_FMTS} geocache.cc geojson.cc globalsat_sport.cc - gpssim.cc gtm.cc gtrnctr.cc holux.cc @@ -396,7 +395,6 @@ set(TESTS geo globalsat_sport gpsdrive - gpssim gpx grapheme gtm diff --git a/gpssim.cc b/deprecated/gpssim.cc similarity index 100% rename from gpssim.cc rename to deprecated/gpssim.cc diff --git a/reference/format0.txt b/reference/format0.txt index 6d10d5cd0..f03faaf78 100644 --- a/reference/format0.txt +++ b/reference/format0.txt @@ -8,7 +8,6 @@ exif jpg Embedded Exif-GPS data (.jpg) shape shp ESRI shapefile igc FAI/IGC Flight Recorder Data Format garmin_fit fit Flexible and Interoperable Data Transfer (FIT) Activity file -gpssim gpssim Franson GPSGate Simulation garmin301 Garmin 301 Custom position and heartrate garmin_g1000 csv Garmin G1000 datalog input filter file gdb gdb Garmin MapSource - gdb diff --git a/reference/format1.txt b/reference/format1.txt index cc4d87520..424a81f7f 100644 --- a/reference/format1.txt +++ b/reference/format1.txt @@ -11,7 +11,6 @@ file exif jpg Embedded Exif-GPS data (.jpg) file shape shp ESRI shapefile file igc FAI/IGC Flight Recorder Data Format file garmin_fit fit Flexible and Interoperable Data Transfer (FIT) Activity file -file gpssim gpssim Franson GPSGate Simulation file garmin301 Garmin 301 Custom position and heartrate file garmin_g1000 csv Garmin G1000 datalog input filter file file gdb gdb Garmin MapSource - gdb diff --git a/reference/format2.txt b/reference/format2.txt index 713235226..8ddca1773 100644 --- a/reference/format2.txt +++ b/reference/format2.txt @@ -11,7 +11,6 @@ file rw---- exif jpg Embedded Exif-GPS data (.jpg) file rwrwrw shape shp ESRI shapefile file --rwrw igc FAI/IGC Flight Recorder Data Format file -wrw-- garmin_fit fit Flexible and Interoperable Data Transfer (FIT) Activity file -file -w-w-w gpssim gpssim Franson GPSGate Simulation file rw---- garmin301 Garmin 301 Custom position and heartrate file --rw-- garmin_g1000 csv Garmin G1000 datalog input filter file file rwrwrw gdb gdb Garmin MapSource - gdb diff --git a/reference/format3.txt b/reference/format3.txt index 70596a81f..ab9e479ec 100644 --- a/reference/format3.txt +++ b/reference/format3.txt @@ -142,12 +142,6 @@ option garmin_fit allpoints Read all points even if latitude or longitude is mis option garmin_fit recoverymode Attempt to recovery data from corrupt file boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_garmin_fit.html#fmt_garmin_fit_o_recoverymode -file -w-w-w gpssim gpssim Franson GPSGate Simulation gpssim - https://www.gpsbabel.org/WEB_DOC_DIR/fmt_gpssim.html -option gpssim wayptspd Default speed for waypoints (knots/hr) float https://www.gpsbabel.org/WEB_DOC_DIR/fmt_gpssim.html#fmt_gpssim_o_wayptspd - -option gpssim split Split input into separate files boolean 0 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_gpssim.html#fmt_gpssim_o_split - file rw---- garmin301 Garmin 301 Custom position and heartrate xcsv https://www.gpsbabel.org/WEB_DOC_DIR/fmt_garmin301.html option garmin301 snlen Max synthesized shortname length integer 1 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_garmin301.html#fmt_garmin301_o_snlen diff --git a/reference/help.txt b/reference/help.txt index edac9da53..715be12bd 100644 --- a/reference/help.txt +++ b/reference/help.txt @@ -79,9 +79,6 @@ File Types (-i and -o options): garmin_fit Flexible and Interoperable Data Transfer (FIT) Act allpoints (0/1) Read all points even if latitude or longitude is m recoverymode (0/1) Attempt to recovery data from corrupt file - gpssim Franson GPSGate Simulation - wayptspd Default speed for waypoints (knots/hr) - split (0/1) Split input into separate files garmin301 Garmin 301 Custom position and heartrate snlen Max synthesized shortname length snwhite (0/1) Allow whitespace synth. shortnames diff --git a/testo.d/gpssim.test b/testo.d/gpssim.test deleted file mode 100644 index 175c774e8..000000000 --- a/testo.d/gpssim.test +++ /dev/null @@ -1,10 +0,0 @@ -# -# Franson GPSGate simulation -# -gpsbabel -i geo -f ${REFERENCE}/geocaching.loc -o gpssim -F ${TMPDIR}/waypoints.gpssim -compare ${TMPDIR}/waypoints.gpssim ${REFERENCE} -gpsbabel -i gpx -f ${REFERENCE}/track/tracks.gpx -o gpssim -F ${TMPDIR}/tracks.gpssim -compare ${TMPDIR}/tracks.gpssim ${REFERENCE}/track -gpsbabel -i gpx -f ${REFERENCE}/track/nmeadate.gpx -o gpssim -F ${TMPDIR}/nmeadate.gpssim -compare ${REFERENCE}/track/nmeadate.gpssim ${TMPDIR}/nmeadate.gpssim - diff --git a/vecs.cc b/vecs.cc index a48a380aa..e91aa923a 100644 --- a/vecs.cc +++ b/vecs.cc @@ -92,7 +92,6 @@ extern ff_vecs_t wbt_fvecs; //extern ff_vecs_t wbt_fvecs; extern ff_vecs_t vcf_vecs; extern ff_vecs_t gtm_vecs; -extern ff_vecs_t gpssim_vecs; #if CSVFMTS_ENABLED extern ff_vecs_t garmin_txt_vecs; #endif // CSVFMTS_ENABLED @@ -152,7 +151,6 @@ struct Vecs::Impl { LegacyFormat vcf_fmt {vcf_vecs}; UnicsvFormat unicsv_fmt; LegacyFormat gtm_fmt {gtm_vecs}; - LegacyFormat gpssim_fmt {gpssim_vecs}; #if CSVFMTS_ENABLED LegacyFormat garmin_txt_fmt {garmin_txt_vecs}; #endif // CSVFMTS_ENABLED @@ -389,13 +387,6 @@ struct Vecs::Impl { "gtm", nullptr, }, - { - &gpssim_fmt, - "gpssim", - "Franson GPSGate Simulation", - "gpssim", - nullptr, - }, #if CSVFMTS_ENABLED { &garmin_txt_fmt, diff --git a/xmldoc/formats/gpssim.xml b/xmldoc/formats/gpssim.xml deleted file mode 100644 index 320c51d1a..000000000 --- a/xmldoc/formats/gpssim.xml +++ /dev/null @@ -1,9 +0,0 @@ - - This is a write-only format used to feed waypoints, tracks, and routes - into Franson Technolgies' - GpsGate simulator. - - - To use these files in GpsGate, select 'Simulator' and then - "File->Open". - diff --git a/xmldoc/formats/options/gpssim-split.xml b/xmldoc/formats/options/gpssim-split.xml deleted file mode 100644 index 26a5c9c46..000000000 --- a/xmldoc/formats/options/gpssim-split.xml +++ /dev/null @@ -1,17 +0,0 @@ -When this option is specified, GPSBabel will split - split the output into multiple files using the output filename - as a base. For example, if you specify an output file of 'mytrip', - - mytrip-waypoints.gpssim - will contain the waypoints. - mytrip-track0000.gpssim - will contain the first track. - mytrip-track0001.gpssim - will contain the second track. - ... and so on. - mytrip-route0000.gpssim - will contain the first route. - mytrip-route0001.gpssim - will contain the seconds route. - ... and so on. - - - - -Valid values for this option are 0 (off) and 1 (on). The default is '0'. - -- 2.30.2